#ifndef LOGIN_H
#define LOGIN_H

#include <QWidget>
#include <memory>
//#include  <thread>
#include"Domain/ClientMsg/LoginMsg.pb.h"
using namespace std;

namespace Ui {
class Login;
}
class MainWindow;
class Login : public QWidget
{
    Q_OBJECT
friend class MainWindow;
public:
    explicit Login(MainWindow* mainWindow,QWidget *parent = nullptr);
    ~Login();

private slots:
void on_loginin_clicked();

private:
    Ui::Login *ui;
    MainWindow* mw;
};

#endif // LOGIN_H
